package com.wing.sell.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 销售物流详情表
 * @Project: szgc-enterprise-coding
 * @Package: com.wing.sell.model.entity.SelGoodsLogisticsDetail
 * @Date: 2024/12/26 10:28
 * @Author: heZhou
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "sel_goods_logistics")
public class SelGoodsLogistics extends BaseEntity<SelGoodsLogistics> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 类型 1.收货  2.发货
     */
    private String goodType;

    /**
     * 模块类型 1.采购 2.销售
     */
    private String moduleType;

    /**
     * 记录id
     */
    private Long recordId;

    /**
     * 图片地址
     */
    private String fileUrl;

    /**
     * 图片名称
     */
    private String fileName;

    /**
     * 退货方式
     */
    private String returnType;

    /**
     * 物流公司
     */
    private String logisticsCompany;

    /**
     * 车牌号
     */
    private String busNumber;

    /**
     * 物流单号
     */
    private String logisticsWaybillNo;

    /**
     * 退换详情
     */
    @TableField(exist = false)
    private List<SelGoodsLogisticsDetail> selGoodsLogisticsDetails;

    /**
     * code
     */
    private String code;

}
